package com.galaxy.product.domain.vo;

import com.galaxy.common.mybatis.core.domain.BaseEntity;
import com.galaxy.common.translation.annotation.Translation;
import com.galaxy.common.translation.constant.TransConstant;
import com.galaxy.product.domain.ProductBrand;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 商品品牌视图对象
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = ProductBrand.class)
public class ProductBrandVo extends BaseEntity {

    /**
     * 主键
     */
    private Long id;

    /**
     * 品牌名称
     */
    private String name;

    /**
     * 品牌logo
     */
    @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "logo")
    private String logo;

    /**
     * 品牌描述
     */
    private String description;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 状态(0:禁用,1:正常)
     */
    private Integer status;

    /**
     * 状态名称
     */
    private String statusName;

    /**
     * 租户ID
     */
    private String tenantId;
}
